package com.wlyuan.open.scanner.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wlyuan.open.scanner.domain.order.OrderGoods;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 第三方扩展表
 * </p>
 *
 * @author yuanjie
 * @since 2023-04-10
 */
@Data
@TableName("TMS_Extension")
@ApiModel(value = "ExtensionDO对象", description = "第三方扩展表")
public class ExtensionDO implements Serializable {


    private static final long serialVersionUID = 5835584477299047560L;
    @ApiModelProperty("关联单号-客户订单")
    private Long extensionOrdercid;

    @ApiModelProperty("关联单号-运输订单")
    private Long extensionOrdertid;

    @ApiModelProperty("0 脱普订单扩展 1 加加扩展信息")
    private Integer extensionType;

    @ApiModelProperty("插入时间")
    private LocalDateTime extensionInserttime;

    private String extensionThirdtwelve;

    private String extensionThirdnine;

    private String extensionThirdeighteen;

    private Long extensionThirdtwentyone;

    private String extensionThirdfifteen;

    private String extensionThirdone;

    private String extensionThirdtwentyfour;

    private String extensionThirdfour;

    private String extensionThirdseven;

    private String extensionThirdsixteen;

    private String extensionThirdten;

    @TableId(value = "Extension_id", type = IdType.AUTO)
    private Long extensionId;

    private String extensionThirdthirteen;

    private String extensionThirdtwentytwo;

    private String extensionThirdtwo;

    private Integer extensionThirdnineteen;

    private String extensionThirdeight;

    private String extensionThirdtwentyfive;

    private String extensionThirdeleven;

    private String extensionThirdfive;

    private String extensionThirdfourteen;

    private String extensionThirdseventeen;

    private Long extensionThirdtwenty;

    private String extensionThirdsix;

    private String extensionThirdtwentythree;

    private String extensionThirdthree;

    @ApiModelProperty("订单物品信息")
    @TableField(exist = false)
    private List<OrderGoods> goodsList;
    @TableField(exist = false)
    private String contractNo;
    @TableField(exist = false)
    private Long tenantId;
    @TableField(exist = false)
    private Integer transportMode;
    @ApiModelProperty("是否关闭 0 否 1 是")
    @TableField(exist = false)
    private Integer closed;
    @TableField(exist = false)
    private String orderNo;
    @TableField(exist = false)
    private Long customerId;
    @TableField(exist = false)
    private Long createMan;

    @ApiModelProperty("客户名称")
    @TableField(exist = false)
    private String cName;
    @ApiModelProperty("客户类型")
    @TableField(exist = false)
    private Integer customerType;
    @ApiModelProperty("客户租户")
    @TableField(exist = false)
    private Long customerTenantId;

    @ApiModelProperty(value = "发货联系人")
    private String contactName;
    @ApiModelProperty(value = "发货联系电话")
    private String contactMobile;


}
